﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mogre;

namespace WastedMechanics.CharState
{
    class CharStateDead : CharState
    {
        public string AnimationName;

        public CharStateDead(Character chr)
            : base(chr)
        {
            AnimationName = "Dead";
        }

        public override void Enter()
        {            
            Character.SetAnimation(AnimationName);
            Character.Velocity = Vector3.ZERO;            
            Character.CanTurn = true;
            Character.RunAcceleration = 0;
            Character.MakeDead();

        }     
    }
}
